import React,{ useState } from 'react'

import {Route,Routes,Navigate} from 'react-router-dom'
import './App.scss'
import 'antd/dist/antd.min.css';


import Login from '../src/views/Login'
import Manage from '../src/views/Manage'

function App() {
  const [count, setCount] = useState(0)

  return (
    <div className="App">
      <Routes>
        <Route path="/login" element={<Login/>}/>
        <Route path="/manage/*" element={<Manage/>}/>
        <Route path='/' element={<Navigate to='/login' />} />
      </Routes>
    </div>
  )
}

export default App
